package com.fun_ordering;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 说明:
 * 类名: App
 * 包名:com.fun_ordering.App
 * 作者: XiaoPi
 * 时间: 2024-03-12 -23:16
 */
@SpringBootApplication
@MapperScan(basePackages = "com.fun_ordering.mapper")
//事务，作用：回退数据
@EnableTransactionManagement
public class App {
    public static void main(String[] args) {
        SpringApplication.run(App.class,args);
    }
}
